<?php

/**
 * Class OrderEnum
 */
class OrderEnum {

    #订单状态
    const STATUS_NO_PAY     =  1;     //未支付
    const STATUS_PAYED      =  2;       //已支付
    const STATUS_PREPARE    =  3;       //备货中
    const STATUS_DELIVERY   =  4;       //已发货
    const STATUS_RECEIVE    =  5;       //已收货
    const STATUS_CANCEL     =  6;       //已取消
    const STATUS_DELETE     =  7;       //已删除

    #发票类型
    const INVOICE_TYPE_PAPER    =   1;
    const INVOICE_TYPE_ELECT    =   2;

    public static $invoice  =   [
        self::INVOICE_TYPE_PAPER       =>   [
            'invoice_id'    =>  1,
            'invoice_name'  =>  '纸质发票'
        ],
        self::INVOICE_TYPE_ELECT       =>   [
            'invoice_id'    =>  2,
            'invoice_name'  =>  '电子发票'
        ],
    ];

}